#ifndef MULTIGETPROFILEREQUEST_H
#define MULTIGETPROFILEREQUEST_H

#include <QObject>
#include "network/networkgetjsonrequest.h"
#include "network/networkjsonresponse.h"

class MultiGetProfileResponse;

class MultiGetProfileRequest : public Network::GetJSONRequest
{
    Q_OBJECT
public:
    explicit MultiGetProfileRequest(const qint64& userId,
                                    const QString &sessionKey);

    MultiGetProfileRequest(const std::vector<qint64>& listUserId,
                           const QString &sessionKey,
                           const qint64 idx,
                           const qint64 count);
    ~MultiGetProfileRequest();

private:
    MultiGetProfileResponse *m_response;
    std::vector< qint64> m_listUserId;
    QString m_sessionKey;


private:
    Network::JSONResponse &jsonResponse();

public:
    const Network::JSONResponse &jsonResponse() const;
    QUrl url() const;

    qint64 m_idx;
    qint64 m_count;
};

#endif // GETMULTIPROFILEREQUEST_H
